﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KELT.ErrorControl.CustomException
{
    class InvalidFileNameException : ApplicationException
    {
        private string fileName;

        public InvalidFileNameException() : base() 
        {
            this.fileName = "UnTitled";
        }

        public InvalidFileNameException(string fileName, string message) : base(message)
        {
            this.fileName = fileName;
        }

        public InvalidFileNameException(string fileName, string message, Exception innerException) : base(message, innerException)
        {
            this.fileName = fileName;
        }
    }
}
